import QtQuick 2.0
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3
import Quick.UIComponent.GroupBox.Simple 0.1 as Simple


Page{
    id:root
    title: "Button"


    GroupBox{
        id:sys
        y:300
        title: qsTr("System")
        ColumnLayout {
          anchors.fill: parent
          CheckBox { text: qsTr("E-mail") }
          CheckBox { text: qsTr("Calendar") }
          CheckBox { text: qsTr("Contacts") }
        }
    }

    GroupBox{
        width: 200
        height: 200
        Rectangle{
            anchors.fill: parent
        }
    }



    Simple.GroupBox{
        x:300
        width: sys.width
        height: sys.height
        title: qsTr("Simple")
        ColumnLayout {
          anchors.fill: parent
          CheckBox { text: qsTr("E-mail") }
          CheckBox { text: qsTr("Calendar") }
          CheckBox { text: qsTr("Contacts") }
        }
    }
}
